<style type="text/css">
body,td,th {
	color: #000;
}
body {
	background-color: #FFC;
}
</style>
<?php
require_once("connect.php");

try {

$ID = $_POST['ID']; 
$new_name = $_POST['name'];
  
 # Prepare the query ONCE
  $stmt = $conn->prepare('INSERT INTO users VALUES(:name)');
  $stmt->bindParam(':name', $Name); 
  $qry = $conn->prepare('INSERT INTO users (ID, Name) VALUES (?,?)');
 
  # First insertion
  
  $qry->execute(array($ID, $new_name)); 
  echo "i just put in ", $new_name;
  
 }


catch(PDOException $e) {
  echo $e->getMessage();
}


 ?>